<?xml version="1.0" standalone="yes"?>
<NewDataSet>
  <Sys_MapData>
    <No>Demo_04</No>
    <Name>04.一对多</Name>
    <EnPK />
    <SearchKeys />
    <PTable>Demo_04</PTable>
    <Dtls />
    <DBURL>0</DBURL>
    <Tag />
    <FrmType>1</FrmType>
    <FK_FrmSort>01</FK_FrmSort>
    <AttrsInTable />
    <AppType>0</AppType>
    <Designer />
    <DesignerUnit />
    <DesignerContact />
    <FK_Flow />
    <FormType>0</FormType>
    <URL />
    <FrmW>900</FrmW>
    <FrmH>1200</FrmH>
  </Sys_MapData>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_1</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>79</X1>
    <Y1>76</Y1>
    <X2>79</X2>
    <Y2>919</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_2</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>80</X1>
    <Y1>77</Y1>
    <X2>802</X2>
    <Y2>77</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_3</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>802</X1>
    <Y1>77</Y1>
    <X2>802</X2>
    <Y2>920</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_4</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>87</X1>
    <Y1>603</Y1>
    <X2>804</X2>
    <Y2>603</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_5</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>440</X1>
    <Y1>78</Y1>
    <X2>440</X2>
    <Y2>602</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_6</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>115</X1>
    <Y1>668</Y1>
    <X2>723</X2>
    <Y2>668</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_7</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>88</X1>
    <Y1>917</Y1>
    <X2>88</X2>
    <Y2>917</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmLine>
    <MyPK>LEDemo_04_8</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>0</X>
    <Y>0</Y>
    <X1>80</X1>
    <Y1>918</Y1>
    <X2>801</X2>
    <Y2>918</Y2>
    <BorderWidth>2</BorderWidth>
    <BorderColor>Black</BorderColor>
  </Sys_FrmLine>
  <Sys_FrmImg>
    <MyPK>ImgDemo_04_1</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <X>602</X>
    <Y>21</Y>
    <H>53</H>
    <W>200</W>
    <ImgURL>/CCForm;component/Img/LogoBig.png</ImgURL>
    <LinkURL />
    <LinkTarget>_blank</LinkTarget>
  </Sys_FrmImg>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_1</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>自动填充M2M</Text>
    <X>111</X>
    <Y>607</Y>
    <FontSize>16</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>1</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_2</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>一对多关系数据存储与展示-详细信息请参考操作录像.</Text>
    <X>74</X>
    <Y>31</Y>
    <FontSize>22</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>1</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_3</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>带有数据分组-数据采集</Text>
    <X>94</X>
    <Y>80</Y>
    <FontSize>16</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>1</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_4</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>无数据分组-4列显示-数据采集</Text>
    <X>449</X>
    <Y>84</Y>
    <FontSize>16</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>1</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_5</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>熟练的使用一对多的关系可帮助你构建高级的应用</Text>
    <X>454</X>
    <Y>453</Y>
    <FontSize>11</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>0</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_6</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>操作员</Text>
    <X>112</X>
    <Y>639</Y>
    <FontSize>11</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>0</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_7</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>名称</Text>
    <X>264</X>
    <Y>643</Y>
    <FontSize>11</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>0</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_8</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>所在部门</Text>
    <X>418</X>
    <Y>644</Y>
    <FontSize>11</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>0</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_FrmLab>
    <MyPK>LBDemo_04_9</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <Text>在操作员文本框中输入一个操作员编号,系统就会把该操作员的岗位自动填充.</Text>
    <X>269</X>
    <Y>613</Y>
    <FontSize>11</FontSize>
    <FontColor>#FF000000</FontColor>
    <FontName>Portable User Interface</FontName>
    <FontStyle>Normal</FontStyle>
    <FontWeight>normal</FontWeight>
    <IsBold>0</IsBold>
    <IsItalic>0</IsItalic>
  </Sys_FrmLab>
  <Sys_MapAttr>
    <MyPK>Demo_04_MingCheng</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <KeyOfEn>MingCheng</KeyOfEn>
    <Name>名称</Name>
    <DefVal />
    <UIContralType>0</UIContralType>
    <MyDataType>1</MyDataType>
    <LGType>0</LGType>
    <UIWidth>100</UIWidth>
    <UIHeight>23</UIHeight>
    <MinLen>0</MinLen>
    <MaxLen>500</MaxLen>
    <UIBindKey />
    <UIRefKey />
    <UIRefKeyText />
    <UIVisible>1</UIVisible>
    <UIIsEnable>1</UIIsEnable>
    <UIIsLine>0</UIIsLine>
    <Tag />
    <EditType>0</EditType>
    <AutoFullDoc />
    <AutoFullWay>0</AutoFullWay>
    <IDX>0</IDX>
    <GroupID>161</GroupID>
    <IsSigan>0</IsSigan>
    <X>298</X>
    <Y>641</Y>
  </Sys_MapAttr>
  <Sys_MapAttr>
    <MyPK>Demo_04_FK_Dept</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <KeyOfEn>FK_Dept</KeyOfEn>
    <Name>所在部门</Name>
    <DefVal />
    <UIContralType>1</UIContralType>
    <MyDataType>1</MyDataType>
    <LGType>2</LGType>
    <UIWidth>100</UIWidth>
    <UIHeight>23</UIHeight>
    <MinLen>0</MinLen>
    <MaxLen>500</MaxLen>
    <UIBindKey>BP.Port.Depts</UIBindKey>
    <UIRefKey>No</UIRefKey>
    <UIRefKeyText>Name</UIRefKeyText>
    <UIVisible>1</UIVisible>
    <UIIsEnable>1</UIIsEnable>
    <UIIsLine>0</UIIsLine>
    <Tag />
    <EditType>0</EditType>
    <AutoFullDoc />
    <AutoFullWay>0</AutoFullWay>
    <IDX>0</IDX>
    <GroupID>161</GroupID>
    <IsSigan>0</IsSigan>
    <X>476</X>
    <Y>638</Y>
  </Sys_MapAttr>
  <Sys_MapAttr>
    <MyPK>Demo_04_CaoZuoYuan</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <KeyOfEn>CaoZuoYuan</KeyOfEn>
    <Name>操作员</Name>
    <DefVal />
    <UIContralType>0</UIContralType>
    <MyDataType>1</MyDataType>
    <LGType>0</LGType>
    <UIWidth>100</UIWidth>
    <UIHeight>23</UIHeight>
    <MinLen>0</MinLen>
    <MaxLen>500</MaxLen>
    <UIBindKey />
    <UIRefKey />
    <UIRefKeyText />
    <UIVisible>1</UIVisible>
    <UIIsEnable>1</UIIsEnable>
    <UIIsLine>0</UIIsLine>
    <Tag />
    <EditType>0</EditType>
    <AutoFullDoc />
    <AutoFullWay>0</AutoFullWay>
    <IDX>0</IDX>
    <GroupID>161</GroupID>
    <IsSigan>0</IsSigan>
    <X>159</X>
    <Y>641</Y>
  </Sys_MapAttr>
  <Sys_MapAttr>
    <MyPK>Demo_04_OID</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <KeyOfEn>OID</KeyOfEn>
    <Name>OID</Name>
    <DefVal>0</DefVal>
    <UIContralType>0</UIContralType>
    <MyDataType>2</MyDataType>
    <LGType>0</LGType>
    <UIWidth>100</UIWidth>
    <UIHeight>23</UIHeight>
    <MinLen>0</MinLen>
    <MaxLen>500</MaxLen>
    <UIBindKey />
    <UIRefKey />
    <UIRefKeyText />
    <UIVisible>0</UIVisible>
    <UIIsEnable>0</UIIsEnable>
    <UIIsLine>0</UIIsLine>
    <Tag />
    <EditType>2</EditType>
    <AutoFullDoc />
    <AutoFullWay>0</AutoFullWay>
    <IDX>999</IDX>
    <GroupID>161</GroupID>
    <IsSigan>0</IsSigan>
    <X>5</X>
    <Y>5</Y>
  </Sys_MapAttr>
  <Sys_MapAttr>
    <MyPK>Demo_04_RDT</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <KeyOfEn>RDT</KeyOfEn>
    <Name>更新时间</Name>
    <DefVal>@RDT</DefVal>
    <UIContralType>0</UIContralType>
    <MyDataType>7</MyDataType>
    <LGType>0</LGType>
    <UIWidth>100</UIWidth>
    <UIHeight>23</UIHeight>
    <MinLen>0</MinLen>
    <MaxLen>500</MaxLen>
    <UIBindKey />
    <UIRefKey />
    <UIRefKeyText />
    <UIVisible>0</UIVisible>
    <UIIsEnable>0</UIIsEnable>
    <UIIsLine>0</UIIsLine>
    <Tag>1</Tag>
    <EditType>1</EditType>
    <AutoFullDoc />
    <AutoFullWay>0</AutoFullWay>
    <IDX>999</IDX>
    <GroupID>161</GroupID>
    <IsSigan>0</IsSigan>
    <X>5</X>
    <Y>5</Y>
  </Sys_MapAttr>
  <Sys_MapM2M>
    <MyPK>Demo_04_M2MDemo_04_1</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <NoOfObj>M2MDemo_04_1</NoOfObj>
    <Name>新建一对多</Name>
    <DBOfLists />
    <DBOfObjs>SELECT No,Name,FK_Dept FROM Port_Emp</DBOfObjs>
    <DBOfGroups>SELECT No,Name FROM Port_Dept</DBOfGroups>
    <H>491</H>
    <W>324</W>
    <X>91</X>
    <Y>108</Y>
    <ShowWay>1</ShowWay>
    <M2MType>0</M2MType>
    <RowIdx>99</RowIdx>
    <GroupID>161</GroupID>
    <Cols>2</Cols>
    <IsDelete>1</IsDelete>
    <IsInsert>1</IsInsert>
  </Sys_MapM2M>
  <Sys_MapM2M>
    <MyPK>Demo_04_M2MDemo_04_2</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <NoOfObj>M2MDemo_04_2</NoOfObj>
    <Name>新建一对多</Name>
    <DBOfLists />
    <DBOfObjs>SELECT No,Name,FK_Dept FROM Port_Emp</DBOfObjs>
    <DBOfGroups />
    <H>328</H>
    <W>349</W>
    <X>446</X>
    <Y>109</Y>
    <ShowWay>1</ShowWay>
    <M2MType>0</M2MType>
    <RowIdx>99</RowIdx>
    <GroupID>161</GroupID>
    <Cols>4</Cols>
    <IsDelete>1</IsDelete>
    <IsInsert>1</IsInsert>
  </Sys_MapM2M>
  <Sys_MapM2M>
    <MyPK>Demo_04_M2MDemo_04_3</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <NoOfObj>M2MDemo_04_3</NoOfObj>
    <Name>新建一对多</Name>
    <DBOfLists />
    <DBOfObjs>SELECT No,Name,StaGrade FROM Port_Station</DBOfObjs>
    <DBOfGroups>SELECT IntKey No, Lab Name FROM Sys_Enum WHERE EnumKey=~StaGrade~</DBOfGroups>
    <H>207</H>
    <W>611</W>
    <X>111</X>
    <Y>672</Y>
    <ShowWay>1</ShowWay>
    <M2MType>0</M2MType>
    <RowIdx>99</RowIdx>
    <GroupID>161</GroupID>
    <Cols>5</Cols>
    <IsDelete>1</IsDelete>
    <IsInsert>1</IsInsert>
  </Sys_MapM2M>
  <Sys_MapExt>
    <MyPK>ExtDemo_04_1</MyPK>
    <FK_MapData>Demo_04</FK_MapData>
    <ExtType>TBFullCtrl</ExtType>
    <DoWay>0</DoWay>
    <AttrOfOper>CaoZuoYuan</AttrOfOper>
    <AttrsOfActive />
    <Doc>SELECT No,Name,Name as MingCheng , FK_Dept FROM Port_Emp WHERE No LIKE ~@Key%~</Doc>
    <Tag />
    <Tag1 />
    <Tag2>$M2M3:SELECT No,Name FROM Port_Station WHERE No IN (SELECT FK_Station FROM Port_EmpStation WHERE FK_Emp=~@Key~)</Tag2>
    <H>500</H>
    <W>400</W>
  </Sys_MapExt>
  <Sys_GroupField>
    <OID>161</OID>
    <Lab>04.一对多</Lab>
    <EnName>Demo_04</EnName>
    <Idx>0</Idx>
  </Sys_GroupField>
</NewDataSet>